package com.shanyi.web.controller;

import com.shanyi.common.result.ApiResult;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/test")
public class TestController {
    private static final String LIST = "/get";
    
    @GetMapping(LIST)
    public ApiResult<String> getTravelInfoList() {
        return ApiResult.success("hello,world!");
    }
}
